package com.hoshiicloud.withdraw.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * (UrlInfo)url_info
 *
 * @author makejava
 * @since 2019-08-23 15:07:40
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("url_info")
public class UrlInfo extends Model<UrlInfo> {
    
            @TableId("id")
    private Integer id;
    
        /**
         * 长连接url
         */
    @TableField("long_url")
    private String longUrl;
    
        /**
         * 短连接url
         */
    @TableField("short_url")
    private String shortUrl;
    
        /**
         * 创建时间
         */
    @TableField("create_time")
    private Date createTime;
    
        /**
         * 修改时间
         */
    @TableField("update_time")
    private Date updateTime;
    
        /**
         * 是否删除
         */
    @TableField("is_del")
    private Byte isDel;
    
        /**
         * 签约公司记录id
         */
    @TableField("contract_platform_record_id")
    private Integer contractPlatformRecordId;
    
    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}